export enum FilterResult {
  /** Continue processing the tree */
  CONTINUE,
  /** Skip the child nodes, but do call {@link NodeFilter#tail(Node, int)} next. */
  SKIP_CHILDREN,
  /** Skip the subtree, and do not call {@link NodeFilter#tail(Node, int)}. */
  SKIP_ENTIRELY,
  /** Remove the node and its children */
  REMOVE,
  /** Stop processing */
  STOP
}